<?php

use yii\helpers\Url;

?>
<?php $this->beginPage();?>
<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <!--    <meta name="csrf-param" content="_csrf">-->
  <!--    <meta name="csrf-token"-->
  <!--          content="o6-wVjJo-I5LBYZiW42Ziaf3RwUa2IhcVjeGl_SUM1L2w_c1R0WtzClh_zozoN3H758Xck21-B88Bc_Yw6NVHQ==">-->
  <title>投教大观后台管理</title>
  <link href="<?=Url::to(['/adminUI/houjs/js/libs/semantic/semantic.min.css'])?>" rel="stylesheet">
  <link href="<?=Url::to(['/adminUI/houjs/css/hou.css'])?>" rel="stylesheet">
  <link href="<?=Url::to('/adminUI/houjs/css/bootstrap-datepicker3.css')?>" rel="stylesheet">
  <link href="<?=Url::to('/adminUI/houjs/css/style.css')?>" rel="stylesheet">
  <!--JS文件-->
  <script src="<?=Url::to('/adminUI/houjs/js/libs/jquery-3.3.1.min.js')?>">
  </script>
  <script src="<?=Url::to('/adminUI/houjs/js/libs/semantic/semantic.min.js')?>">
  </script>
  <script src="<?=Url::to('/adminUI/houjs/js/libs/bootstrap-datepicker.js')?>">
  </script>
  <script src="<?=Url::to('/adminUI/houjs/js/libs/ueditor/ueditor.config.js')?>">
  </script>
  <script src="<?=Url::to('/adminUI/houjs/js/libs/ueditor/ueditor.all.min.js')?>">
  </script>
  <script src="<?=Url::to('/adminUI/houjs/js/libs/bootstrap-datepicker.zh-CN.min.js')?>">
  </script>
  <script src="<?=Url::to('/adminUI/houjs/js/require.js')?>" data-main="<?=Url::to('/adminUI/houjs/js/main')?>">
  </script>
</head>

<body>
  <?php $this->beginBody();?>
  <div id="hou-app">
    <div class="hou-layout hou-layout-admin">
      <div class="hou-header">
        <div class="hou-logo">
          <img src="" height="100%" alt="">
        </div>
        <div class="hou-nav">
          <li>
            <a href="javascript:;" title="隐藏边栏" class="_option_side"><i class="outdent icon"></i></a>
          </li>
        </div>
      </div>
      <div class="hou-side" id="hou-side">
        <div class="hou-user">
          <div class="hou-user-avatar"><img src="https://semantic-ui.com/images/avatar/large/veronika.jpg" alt="">
          </div>
          <div class="hou-user-info">
            <a href="" class="nickname">
              <?php if ($this->params['curent_user']): ?>
              <?=$this->params['curent_user']->admin_name?>
              <?php endif;?>
            </a>
          </div>
        </div>
        <div class="hou-menus">
          <div class="ui vertical secondary inverted accordion fluid menu">
            <div class="item">
              <a class=" title" href="<?=Url::to(['/admin/calendar/index'])?>">日历管理</a>
            </div>
            <div class="item">
              <a class=" title" href="<?=Url::to(['/admin/member/index'])?>">会员管理</a>
            </div>
          </div>
        </div>
      </div>
      <div class="hou-page-nav">
        <div class="title-box">
          <h1>控制台</h1>
        </div>

      </div>
      <div class="hou-body" id="hou-body">
        <?=$content;?>
      </div>
    </div>
  </div>
  <div id="modals" class="hou-modals"></div>
  <script type="text/javascript">
    $('.ui.accordion').accordion();
    require(['mods/app'], function(app) {
      app.optionSide();
    });
  </script>
  <?php $this->endBody();?>
</body>

</html>
<?php $this->endPage();?>